package com.millstein.tsinglog.model.dto.comment;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量审核的评论时使用的实体
 */
@Data
public class BatchCommentCheckDTO {
    @NotNull
    @Max(3)
    @Min(2)
    private Short checkResult;
    @Length(max = 200)
    private String failureInfo;
    @NotNull
    private List<Long> commentIds;
}
